package org.leno.houseHire.dao;

import java.util.List;

import org.leno.houseHire.action.Condition;
import org.leno.houseHire.dao.House;


public interface IHouseDAO {

	public List<House> findAllHouse(Condition cond,final int start ,final int limit);
	public House findById(int id);
	public void addHouse(House house);
	public void editHouse(House house);
	public int delHouse(List<String> ids);
	public long getTotalNums(Condition cond);
	public List<Area> getAllAreas();
	public List<Street> getAllStreets(int aid);
	public String getAreaNameById(int id);
	public String getStreetNameById(int id);
	public User getUserById(int id);
	public Street getStreetById(int id);
}
